package com.dmcliver.timetracker.session;

import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.security.Identity;

@Name("navigationMenuControllerBean")
public class NavigationMenuControllerBean {

	@In Identity identity;
	
	public String logout(){
		
		identity.logout();
		return "viewLogin";
	}
	
	public String goHome(){
		return "home";
	}
}
